﻿namespace FFF.Test.Application.AppServices.PublicService.Log
{
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Text;
    using System.Threading.Tasks;
    using Abp.Application.Services;
    using Abp.Auditing;
    using Abp.EntityFrameworkCore;
    using Abp.Runtime.Caching;
    using Abp.UI;
    using Abp.Web.Models;
    using Microsoft.AspNetCore.Authorization;
    using Microsoft.AspNetCore.Http;
    using Microsoft.AspNetCore.Mvc;
    using FFF.Test.DataAccess.Framework;
    using FFF.Test.Util.Web;
    using Ydm.Extensions;

    /// <summary>
    /// File的使用
    /// </summary>
    public interface ILogAppService : IApplicationService
    {
        /// <summary>
        /// 查看当天错误日志
        /// </summary>
        /// <param name="date">那个日期的数据(20190123)</param>
        /// <returns>文件html</returns>
        Task<ContentResult> Error(string date);

        /// <summary>
        /// 查看当天的信息日志
        /// </summary>
        /// <param name="date">那个日期的数据(20190123)</param>
        /// <returns>文件html</returns>
        Task<ContentResult> Info(string date);
    }
}